﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000B77 RID: 2935
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class MonopolyClickMbtiReportScRsp : IMessage<MonopolyClickMbtiReportScRsp>, IMessage, IEquatable<MonopolyClickMbtiReportScRsp>, IDeepCloneable<MonopolyClickMbtiReportScRsp>, IBufferMessage
	{
		// Token: 0x17002510 RID: 9488
		// (get) Token: 0x06008352 RID: 33618 RVA: 0x0015E408 File Offset: 0x0015C608
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<MonopolyClickMbtiReportScRsp> Parser
		{
			get
			{
				return MonopolyClickMbtiReportScRsp._parser;
			}
		}

		// Token: 0x17002511 RID: 9489
		// (get) Token: 0x06008353 RID: 33619 RVA: 0x0015E40F File Offset: 0x0015C60F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return MonopolyClickMbtiReportScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002512 RID: 9490
		// (get) Token: 0x06008354 RID: 33620 RVA: 0x0015E421 File Offset: 0x0015C621
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return MonopolyClickMbtiReportScRsp.Descriptor;
			}
		}

		// Token: 0x06008355 RID: 33621 RVA: 0x0015E428 File Offset: 0x0015C628
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MonopolyClickMbtiReportScRsp()
		{
		}

		// Token: 0x06008356 RID: 33622 RVA: 0x0015E430 File Offset: 0x0015C630
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MonopolyClickMbtiReportScRsp(MonopolyClickMbtiReportScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06008357 RID: 33623 RVA: 0x0015E455 File Offset: 0x0015C655
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MonopolyClickMbtiReportScRsp Clone()
		{
			return new MonopolyClickMbtiReportScRsp(this);
		}

		// Token: 0x17002513 RID: 9491
		// (get) Token: 0x06008358 RID: 33624 RVA: 0x0015E45D File Offset: 0x0015C65D
		// (set) Token: 0x06008359 RID: 33625 RVA: 0x0015E465 File Offset: 0x0015C665
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x0600835A RID: 33626 RVA: 0x0015E46E File Offset: 0x0015C66E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as MonopolyClickMbtiReportScRsp);
		}

		// Token: 0x0600835B RID: 33627 RVA: 0x0015E47C File Offset: 0x0015C67C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(MonopolyClickMbtiReportScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600835C RID: 33628 RVA: 0x0015E4AC File Offset: 0x0015C6AC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600835D RID: 33629 RVA: 0x0015E4EB File Offset: 0x0015C6EB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600835E RID: 33630 RVA: 0x0015E4F3 File Offset: 0x0015C6F3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600835F RID: 33631 RVA: 0x0015E4FC File Offset: 0x0015C6FC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(120);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06008360 RID: 33632 RVA: 0x0015E530 File Offset: 0x0015C730
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06008361 RID: 33633 RVA: 0x0015E56E File Offset: 0x0015C76E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(MonopolyClickMbtiReportScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06008362 RID: 33634 RVA: 0x0015E59F File Offset: 0x0015C79F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06008363 RID: 33635 RVA: 0x0015E5A8 File Offset: 0x0015C7A8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 120U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.Retcode = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04003247 RID: 12871
		private static readonly MessageParser<MonopolyClickMbtiReportScRsp> _parser = new MessageParser<MonopolyClickMbtiReportScRsp>(() => new MonopolyClickMbtiReportScRsp());

		// Token: 0x04003248 RID: 12872
		private UnknownFieldSet _unknownFields;

		// Token: 0x04003249 RID: 12873
		public const int RetcodeFieldNumber = 15;

		// Token: 0x0400324A RID: 12874
		private uint retcode_;
	}
}
